<div class="devui-demo-container" dAnchorBox dAnchorHashSupport [view]="{ top: 180, bottom: 0 }">
  <d-demo-nav [navItems]="navItems"></d-demo-nav>
  <div class="devui-demo-example" [dAnchor]="'basic-usage'">
    <div class="devui-demo-title">{{ 'components.tooltip.basicDemo.title' | translate }}</div>
    <div class="devui-demo-text"></div>
    <d-codebox id="tooltip-basic" [sourceData]="basicSource">
      <d-basic demo></d-basic>
    </d-codebox>
  </div>
  <div class="devui-demo-example" [dAnchor]="'delay-trigger'">
    <div class="devui-demo-title">{{ 'components.tooltip.delayDemo.title' | translate }}</div>
    <div class="devui-demo-text">{{ 'components.tooltip.delayDemo.description' | translate }}</div>
    <div class="devui-demo-text"></div>
    <d-codebox id="tooltip-delay" [sourceData]="delaySource">
      <d-delay demo></d-delay>
    </d-codebox>
  </div>
</div>
